﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using tmAsk.Common;

namespace tmAsk.Manager
{
    public partial class admin_urls : System.Web.UI.Page
    {
        function make_htm = new function();//继承类
        tmAsk.Data.MakehtmlSQL SQL = new tmAsk.Data.MakehtmlSQL();
        protected void Page_Load(object sender, EventArgs e)
        {
            function.CheckAdminLogin();
            string html = "";
            string template_url = Request["template"];
            string id = Request["id"];
            string html_url = Server.MapPath(template_url);

            html = make_htm.Get_html(html_url, "[id]|[c_defaultimg]", id + "|" + alldata.Config_defaultimg);
            Response.Write(html);
        }
    }
}